package com.sinosoft.system.primary.dao;

import java.util.List;

import com.sinosoft.system.primary.entity.SysMenu;
   
   /**
    * @ClassName SysMenuDao dao接口类
    * @date 2017-2-9 
    * @author shangxp
    */  


public interface SysMenuDao {
	public int insertSysMenu(SysMenu sysMenu);
	public int updateSysMenu(SysMenu sysMenu);
	public int deleteSysMenu(int id);
	public SysMenu selectSysMenu(int id);
	public SysMenu selectSysMenu(List<String> queryKeys,List<Object> queryValues);
	public int selectCountSysMenu();
	public int selectCountSysMenu(List<String> queryKeys,List<Object> queryValues);
	public List<SysMenu> selectLimitSysMenu(int start,int size);
	public List<SysMenu> selectLimitSysMenu(List<String> queryKeys,List<Object> queryValues,int start,int size);
	public List<SysMenu> selectAllSysMenu();
	public List<SysMenu> selectAllSysMenu(List<String> queryKeys,List<Object> queryValues);
	public boolean isPermitted(String roleids,String menucode);
}